﻿using System; 
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using ArchivesAdmin.Util;
using Newtonsoft.Json;

namespace ArchivesAdmin.Entity.TrainingManage
{
    [Table("teacher")]
    public class TeacherEntity : BaseExtensionEntity
    {
        [Description("用户名")]
        public string Name { get; set; }
        
        [Description("年龄")]
        public int Age { get; set; }

        [Description("生日")]
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? Birthday { get; set; }
    }
}
